<template>
  <el-container style="justify-content: center">
    <div class="info-text" style="color: #3A71A8">信 息 绑 定</div>
    <el-main class="info-main">
      <el-form ref="form"  label-width="100px" v-loading="loading">

        <el-form-item label="用户ID：">
          <el-input v-model="authName" :disabled="true">
          </el-input>
        </el-form-item>
        <el-form-item label="用户名：">
          <el-input  v-model="name" :disabled="true">
          </el-input>
        </el-form-item>
        <el-form-item label="绑定ID：">
          <el-input v-model="bindId" :disabled="false">
          </el-input>
        </el-form-item>
        <el-form-item label="绑定密码：">
          <el-input v-model="bindPassword" type="password" :disabled="false">
          </el-input>
        </el-form-item>

        <el-form-item />
        <el-form-item />
        <el-form-item />
        <el-form-item />
        <el-form-item />

        <el-form-item >
          <el-button type="primary" style="width:65%" @click.native="handBind">确 定 信 息</el-button>
        </el-form-item>

      </el-form>
    </el-main>
  </el-container>
</template>

<script>
  import { mapGetters } from 'vuex'

  export default {
    name: 'index',
    computed: {
      ...mapGetters([
        'name',
        'roles',
        'authName'
      ]),
    },
    data(){
      return{
        loading: false,
        bindId: '',
        bindPassword: ''
      }
    },

    methods:{
      handBind(){
        console.log("BIND")
      }
    }
  }
</script>

<style scoped lang="scss">
  @import "../_styles/mobile-main";
</style>
